@import './variable.less';

html {
  height: 100%;
  box-sizing: border-box;
}

ul,
li {
  list-style: none none outside;
}

table,
td,
th {
  border-collapse: collapse;
}

*,
*:before,
*:after {
  box-sizing: inherit;
  padding: 0;
  margin: 0;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

input[type="number"] {
  -moz-appearance: textfield;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

button {
  cursor: pointer;
}

body {
  height: 100%;
  font-size: var(--dyt-font-size) !important;
  color: var(--dyt-font-size);
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Avenir, Helvetica, Arial, sans-serif;
  &.app-view-vertical{
    height: 100vmax;
    width: 100vmin;
    overflow: hidden;
    #app {
      height: 100vmax;
      width: 100vmin;
    }
  }
  &.app-view-cross{
    height: 100vmin;
    width: 100vmax;
    overflow: hidden;
    #app {
      height: 100vmin;
      width: 100vmax;
    }
  }
  #app {
    height: 100vh;
    width: 100vw;
    overflow: auto;
  }
  .app-container{
    height: 100%;
  }
}

